package com.legendshop.openportal.sdk.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页结果
 */
@ApiModel(value="分页结果")
@Data
public class OpenPageSupport<T> implements Serializable{
	
	private static final long serialVersionUID = 4812767659000542767L;

	@ApiModelProperty("结果集合")
	private List<T> resultList;
	
	@ApiModelProperty("总页数")
	private Integer pageCount;
	
	@ApiModelProperty("当前页码")
	private Integer currPage;
	
	@ApiModelProperty("每页大小")
	private Integer pageSize;
	
	@ApiModelProperty("总条数")
	private Long total;

	@ApiModelProperty("实际总条数")
	private Long actualTotal;

}
